package com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.info.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nanhai.buddhist.college.framework.excel.core.annotations.DictFormat;
import com.nanhai.buddhist.college.framework.excel.core.convert.DictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 教材列表 Excel VO
 *
 * @author AKai
 */
@Data
public class TextbookInfoExcelVO {

   // @ExcelProperty("主键id")
  //  private String id;

  //  @ExcelProperty("类型id")
   // private String typeId;



    @ExcelProperty("教材名称")
    private String textbookName;

    @ExcelProperty("类型名称")
    private String typeName;

    @ExcelProperty(value = "适用层次", converter = DictConvert.class)
    @DictFormat("student_training_level") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String hierarchy;

    @ExcelProperty(value = "是否公开", converter = DictConvert.class)
    @DictFormat("infra_boolean_number") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer open;

    @ExcelProperty("发版时间")
    private Date publicationTime;

   // @ExcelProperty("LOGO 图片")
   // private String logoImage;

    @ExcelProperty("出版社")
    private String press;

    @ExcelProperty("电话")
    private String phone;

    @ExcelProperty("作者")
    private String author;

    @ExcelProperty("简介")
    private String synopsis;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("备注")
    private String remark;

}
